package com.example.demo.mybatisplus;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;
@Data
public class CodeGenConfig {
    // 表名
    private String tableName = "belt_peak_valley_time_main";
    // 类名(大驼峰)
    private String className = "BeltPeakValleyTimeMain";
    // 路径名(小写)
    private String pathName = "belt/peak/valley/time/main";
    // 包路径
    private String packagePath = "com.example.demo";
    
    // 字段列表
    private List<FieldInfo> fields = new ArrayList<>();
    
    public CodeGenConfig() {
        //============================================通过ai修改下面的！！！！！！============================================
        // 添加字段示例
        //fields.add(new FieldInfo("id", "Long", "主键ID"));
        fields.add(new FieldInfo("peak_name", "peakName", "String", "峰谷名称"));
        fields.add(new FieldInfo("start_time", "startTime", "LocalTime", "开始时间"));
        fields.add(new FieldInfo("end_time", "endTime", "LocalTime", "结束时间"));
        fields.add(new FieldInfo("time_type", "timeType", "String", "时间段类型"));
        // 根据实际表结构添加更多字段...
    }
    
    // Getters & Setters
}

